package restless.menu {
	
	import restless.core.managers.RLERender;
	import restless.core.interfaces.iMenu;
	import restless.core.gameObjs.RLEButton;
	
	/**
	 * 
	 * @author Jordan Laine
	 * 
	 */
	
	public class Options extends Menu {
		
		/* Create:
		 * Buttons:
			 * Music Volume
			 * Sound Volume
			 * Controls (submenu)
		 * 
		*/
		
		public function Options(parentMenu:iMenu) {
			sID = "Options";
			super(parentMenu);
			
		}
		
		override protected function createParentMenuButton():void {
			parentMenuButton = new RLEButton(parentMenu);
			parentMenuButton.sID = "Options";
			parentMenuButton.switchGFX(gfxM.getBDV("button"), true );
			parentMenuButton.updating = (true);
			parentMenuButton.layer = 1;
			parentMenuButton.menu = this;
			
			tempTextObj = parentMenuButton.addText(sID, sID, "Default", parentMenuButton.x + parentMenuButton.centerX, parentMenuButton.y + parentMenuButton.centerY);
			tempTextObj.center = true;
			tempTextObj.master = parentMenuButton;
			tempTextObj.shouldItFollow( true, true );
			tempTextObj.layer = 1;
		}
	}
}